package com.yixun.model;

import lombok.Data;

/**
 * @Desc: 故障消息-用于推送至kafka
 **/
@Data
public class BreakdownInfo {
    //故障分析唯一表示
    private String uid;
    //故障类型
    private String type;
    //站点编号
    private String siteNo;
    //通道号
    private String aisleNo;
    //故障状态 warning closed
    private String status;
    //备注
    private String remark;
    //故障时间
    private String time;

    /**
     * @Desc: 故障类型定义
     **/
    public final static String TYPE_THAN_NULL="THAN_NULL";
    public final static String TYPE_HEAT_UP="HEAT_UP";
    public final static String TYPE_CONTINUOUS_NULL="CONTINUOUS_NULL";

    /**
     * @Desc: 故障状态
     **/
    public final static String STATUS_CLOSED="closed";
    public final static String STATUS_WARNING="warning";
}
